\hypertarget{classpg_material}{\section{pg\-Material Class Reference}
\label{classpg_material}\index{pg\-Material@{pg\-Material}}
}


{\ttfamily \#include $<$pg\-Material.\-h$>$}

Inheritance diagram for pg\-Material\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classpg_material}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classpg_material_a2a761eead2f13a3b927ffaff2818b00f}{pg\-Material} ()
\item 
\hyperlink{classpg_material_acd6940821d3b8b80dc58fd363c21761d}{$\sim$pg\-Material} ()
\item 
X\-M\-F\-L\-O\-A\-T3 \hyperlink{classpg_material_a1930d225723ee9e18ae99155f3ff64c7}{Get\-Diffuse} ()
\begin{DoxyCompactList}\small\item\em Get the diffuse color of this material. \end{DoxyCompactList}\item 
void \hyperlink{classpg_material_af2a938ce3d6378db111356b40bbdbda3}{Set\-Diffuse} (X\-M\-F\-L\-O\-A\-T3 v\-Diffuse)
\begin{DoxyCompactList}\small\item\em Set the diffuse color of this material. \end{DoxyCompactList}\item 
unsigned int \hyperlink{classpg_material_a52dd5da47afd5681d4c4088ae0aacfe5}{Get\-Pixel\-Shader\-Index} ()
\item 
unsigned int \hyperlink{classpg_material_a9383be68d0c57d7d170b3c50fcab6770}{Get\-Vertex\-Shader\-Index} ()
\item 
void \hyperlink{classpg_material_a54adffef4c9320a8c6248a7a52bb17ab}{Set\-Pixel\-Shader\-Index} (unsigned int idx)
\item 
void \hyperlink{classpg_material_ab14e5195af1f397a5b88299bf06f5184}{Set\-Vertex\-Shader\-Index} (unsigned int idx)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
unsigned int \hyperlink{classpg_material_a01b04d9783b91ae1f5ee4d258a92fd87}{m\-\_\-n\-Vertex\-Shader\-Index}
\item 
unsigned int \hyperlink{classpg_material_a67e7b1775c9cf83034de39cc7a55305d}{m\-\_\-n\-Pixel\-Shader\-Index}
\item 
X\-M\-F\-L\-O\-A\-T3 \hyperlink{classpg_material_af9feb4c9a79911e689f72d7c3253b279}{m\-\_\-v\-Diffuse}
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classpg_material_a2a761eead2f13a3b927ffaff2818b00f}{\index{pg\-Material@{pg\-Material}!pg\-Material@{pg\-Material}}
\index{pg\-Material@{pg\-Material}!pgMaterial@{pg\-Material}}
\subsubsection[{pg\-Material}]{\setlength{\rightskip}{0pt plus 5cm}pg\-Material\-::pg\-Material (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classpg_material_a2a761eead2f13a3b927ffaff2818b00f}
\hypertarget{classpg_material_acd6940821d3b8b80dc58fd363c21761d}{\index{pg\-Material@{pg\-Material}!$\sim$pg\-Material@{$\sim$pg\-Material}}
\index{$\sim$pg\-Material@{$\sim$pg\-Material}!pgMaterial@{pg\-Material}}
\subsubsection[{$\sim$pg\-Material}]{\setlength{\rightskip}{0pt plus 5cm}pg\-Material\-::$\sim$pg\-Material (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classpg_material_acd6940821d3b8b80dc58fd363c21761d}


\subsection{Member Function Documentation}
\hypertarget{classpg_material_a1930d225723ee9e18ae99155f3ff64c7}{\index{pg\-Material@{pg\-Material}!Get\-Diffuse@{Get\-Diffuse}}
\index{Get\-Diffuse@{Get\-Diffuse}!pgMaterial@{pg\-Material}}
\subsubsection[{Get\-Diffuse}]{\setlength{\rightskip}{0pt plus 5cm}X\-M\-F\-L\-O\-A\-T3 pg\-Material\-::\-Get\-Diffuse (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classpg_material_a1930d225723ee9e18ae99155f3ff64c7}


Get the diffuse color of this material. 

\begin{DoxyReturn}{Returns}
Vector containing R\-G\-B channels 
\end{DoxyReturn}


Implements \hyperlink{class_i_material_a3634f103101da7bd2be5f07a16041944}{I\-Material}.

\hypertarget{classpg_material_a52dd5da47afd5681d4c4088ae0aacfe5}{\index{pg\-Material@{pg\-Material}!Get\-Pixel\-Shader\-Index@{Get\-Pixel\-Shader\-Index}}
\index{Get\-Pixel\-Shader\-Index@{Get\-Pixel\-Shader\-Index}!pgMaterial@{pg\-Material}}
\subsubsection[{Get\-Pixel\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int pg\-Material\-::\-Get\-Pixel\-Shader\-Index (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classpg_material_a52dd5da47afd5681d4c4088ae0aacfe5}


Implements \hyperlink{class_i_material_a689ff8c90c826ba2f75935cc4d73e567}{I\-Material}.

\hypertarget{classpg_material_a9383be68d0c57d7d170b3c50fcab6770}{\index{pg\-Material@{pg\-Material}!Get\-Vertex\-Shader\-Index@{Get\-Vertex\-Shader\-Index}}
\index{Get\-Vertex\-Shader\-Index@{Get\-Vertex\-Shader\-Index}!pgMaterial@{pg\-Material}}
\subsubsection[{Get\-Vertex\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int pg\-Material\-::\-Get\-Vertex\-Shader\-Index (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classpg_material_a9383be68d0c57d7d170b3c50fcab6770}


Implements \hyperlink{class_i_material_a56e004c62a7207202cc2df51beb09ac8}{I\-Material}.

\hypertarget{classpg_material_af2a938ce3d6378db111356b40bbdbda3}{\index{pg\-Material@{pg\-Material}!Set\-Diffuse@{Set\-Diffuse}}
\index{Set\-Diffuse@{Set\-Diffuse}!pgMaterial@{pg\-Material}}
\subsubsection[{Set\-Diffuse}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Material\-::\-Set\-Diffuse (
\begin{DoxyParamCaption}
\item[{X\-M\-F\-L\-O\-A\-T3}]{v\-Diffuse}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classpg_material_af2a938ce3d6378db111356b40bbdbda3}


Set the diffuse color of this material. 


\begin{DoxyParams}{Parameters}
{\em v\-Diffuse} & Vector containing R\-G\-B channels \\
\hline
\end{DoxyParams}


Implements \hyperlink{class_i_material_a5f9123914f2cb1df94c362651c3c0598}{I\-Material}.

\hypertarget{classpg_material_a54adffef4c9320a8c6248a7a52bb17ab}{\index{pg\-Material@{pg\-Material}!Set\-Pixel\-Shader\-Index@{Set\-Pixel\-Shader\-Index}}
\index{Set\-Pixel\-Shader\-Index@{Set\-Pixel\-Shader\-Index}!pgMaterial@{pg\-Material}}
\subsubsection[{Set\-Pixel\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Material\-::\-Set\-Pixel\-Shader\-Index (
\begin{DoxyParamCaption}
\item[{unsigned int}]{idx}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classpg_material_a54adffef4c9320a8c6248a7a52bb17ab}


Implements \hyperlink{class_i_material_ae8bbd6ffc87fd2df0a85f78448e2ad36}{I\-Material}.

\hypertarget{classpg_material_ab14e5195af1f397a5b88299bf06f5184}{\index{pg\-Material@{pg\-Material}!Set\-Vertex\-Shader\-Index@{Set\-Vertex\-Shader\-Index}}
\index{Set\-Vertex\-Shader\-Index@{Set\-Vertex\-Shader\-Index}!pgMaterial@{pg\-Material}}
\subsubsection[{Set\-Vertex\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Material\-::\-Set\-Vertex\-Shader\-Index (
\begin{DoxyParamCaption}
\item[{unsigned int}]{idx}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{classpg_material_ab14e5195af1f397a5b88299bf06f5184}


Implements \hyperlink{class_i_material_ac116103c7a9ddd86284ff3fcd1b08341}{I\-Material}.



\subsection{Member Data Documentation}
\hypertarget{classpg_material_a67e7b1775c9cf83034de39cc7a55305d}{\index{pg\-Material@{pg\-Material}!m\-\_\-n\-Pixel\-Shader\-Index@{m\-\_\-n\-Pixel\-Shader\-Index}}
\index{m\-\_\-n\-Pixel\-Shader\-Index@{m\-\_\-n\-Pixel\-Shader\-Index}!pgMaterial@{pg\-Material}}
\subsubsection[{m\-\_\-n\-Pixel\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int pg\-Material\-::m\-\_\-n\-Pixel\-Shader\-Index\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_material_a67e7b1775c9cf83034de39cc7a55305d}
\hypertarget{classpg_material_a01b04d9783b91ae1f5ee4d258a92fd87}{\index{pg\-Material@{pg\-Material}!m\-\_\-n\-Vertex\-Shader\-Index@{m\-\_\-n\-Vertex\-Shader\-Index}}
\index{m\-\_\-n\-Vertex\-Shader\-Index@{m\-\_\-n\-Vertex\-Shader\-Index}!pgMaterial@{pg\-Material}}
\subsubsection[{m\-\_\-n\-Vertex\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int pg\-Material\-::m\-\_\-n\-Vertex\-Shader\-Index\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_material_a01b04d9783b91ae1f5ee4d258a92fd87}
\hypertarget{classpg_material_af9feb4c9a79911e689f72d7c3253b279}{\index{pg\-Material@{pg\-Material}!m\-\_\-v\-Diffuse@{m\-\_\-v\-Diffuse}}
\index{m\-\_\-v\-Diffuse@{m\-\_\-v\-Diffuse}!pgMaterial@{pg\-Material}}
\subsubsection[{m\-\_\-v\-Diffuse}]{\setlength{\rightskip}{0pt plus 5cm}X\-M\-F\-L\-O\-A\-T3 pg\-Material\-::m\-\_\-v\-Diffuse\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_material_af9feb4c9a79911e689f72d7c3253b279}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Inc/\hyperlink{pg_material_8h}{pg\-Material.\-h}\item 
Source/\hyperlink{pg_material_8cpp}{pg\-Material.\-cpp}\end{DoxyCompactItemize}
